package com.blitscreen.utils.monitor 
{
	import com.blitscreen.utils.monitor.AbstractAverageRenderQueueMonitorField;
	import com.kairos.engine.RTEvent;
	import com.blitscreen.render.RenderQueue;
	import com.bourre.structures.Range;	

	/**
	 * @author Cedric Nehemie
	 */
	public class AverageRenderPassCountField extends AbstractAverageRenderQueueMonitorField 
	{
		public function AverageRenderPassCountField ( renderQueue : RenderQueue, 
													  name : String = "Untitled", 
													  dr : Range = null,
													  limit : int = -1,
													  col : Number = NaN)
		{
			super( renderQueue, name, 0, "passes", dr, limit, NaN );
		}
		override public function registerValue ( e : RTEvent ) : void
		{
			_registerValue( _oRenderQueue.size() );
		}
	}
}
